.message-item-wrapper:hover .message-item .message-info .message-timestamp {
  /* visibility: visible; */
}

.message-item {
  display: flex;
  position: relative;
  cursor: pointer;
  /* padding: 2px 0; */
  transition: backgroud 0.2s linear;
  z-index: 1;

  /* padding-top: 0; */
}

.message-item .message-left {
  /* padding-left: 20px; */
  box-sizing: border-box;
  width: 52px;
  position: relative;
  z-index: 2;
}

.message-avatar {
  padding-top: 17px;
  position: static;
}

.message-item .message-right {
  flex: 1;
  z-index: 1;
  width: 0;
}

.message-info {
  padding-top: 0;
  height: 17px;
  box-sizing: border-box;
  display: flex;
  white-space: nowrap;
  align-items: center;
  /* 这个配置导致卡顿！！！去掉后非常丝滑 */
  /* line-height: 30px; */
  color: #8f959e;
  font-size: 12px;
}

.message-item .message-section {
  display: flex;
}

.message-section-left {
  padding: 10px 12px;
  border-radius: 8px;
  --background-color: #f0f1ef;
  background-color: #f0f1ef;
  max-width: calc(100% - 120px);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  /* 文字从左到右 */
  text-align: left;
}

.message-item .message-info .message-timestamp {
  /* margin-left: 0px; */
  /* margin-right: 20px; */
  /* hover显示 */
  /* visibility: hidden; */
  user-select: none;
  pointer-events: auto;
}

.message-content {
  line-height: 20px;
  display: inline-block;
  vertical-align: bottom;
  word-wrap: break-word;
  word-break: break-word;
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 2;
}

.message-text {
  font-size: 14px;
  color: #1f2329;
  line-height: 20px;
  width: 100%;
  cursor: text;
  overflow: hidden;
}

.limit-height-container {
  position: relative;
  overflow: hidden;
}

.wrapper pre {
  width: 100%;
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  padding: 0;
  border: 0;
  font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Segoe UI, PingFang SC, Microsoft Yahei, Arial,
    Hiragino Sans GB, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}

.noselect {
  -webkit-user-select: none;
  user-select: none;
}

/* 反转样式 */
.message-item-reverse {
  display: flex;
  flex-direction: row-reverse;
}
.message-item-color {
  --background-color: #eff0f1;
  background-color: #cce0ff;
  /* --background-color: #f0f1ef;
  background-color: #f0f1ef; */
}
